home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: news3.noc.netcom.net!zdc!zippo!usenet
- From: timothy@smasher.rs.itd.umich.edu (Timothy Hospedales)
- Subject: Can someone help me with objects and functions?
- X-Newsreader: WinVN 0.93.11
- Sender: usenet@news.zippo.com
- Nntp-Posting-Host: 196.3.138.58
- Organization: Zippo
- Message-ID: <DKM0M3.AoB@news.zippo.com>
- Mime-Version: 1.0
- Date: Wed, 3 Jan 1996 14:37:14 GMT
-
- When i'm doing a program that gets a file name from the command
- line argument, and then makes an ofstream object to do file IO, when i
- make a sub-function, and try to make it use the object, it wont.... It
- seems like i have to redeclare the object in each function i want to use
- it in... Is this correct, or do can you pass objects to functions?
-
-